package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 审批流执行子表
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
public class BdpWfActionDetail extends Model<BdpWfActionDetail> {

    private static final long serialVersionUID=1L;

    /**
     * 执行记录标识
     */
    @TableId("DETAIL_ID")
    private String detailId;

    /**
     * WF_ACTION_MASTER的主键值
     */
    @TableField("ACTION_ID")
    private String actionId;

    /**
     * 流程节点标识
     */
    @TableField("NODE_ID")
    private String nodeId;

    /**
     * 节点序号
     */
    @TableField("NODE_ORDER")
    private Long nodeOrder;

    /**
     * 信息
     */
    @TableField("HINT_MESSAGE")
    private String hintMessage;

    /**
     * 用户标识
     */
    @TableField("AUDIT_PERSON")
    private String auditPerson;

    /**
     * 审核日期
     */
    @TableField("AUDIT_DATE")
    private LocalDateTime auditDate;

    /**
     * 审核意见
     */
    @TableField("AUDIT_OPINION")
    private String auditOpinion;

    /**
     * 是否通过
     */
    @TableField("IS_PASSED")
    private Integer isPassed;

    /**
     * 是否终止流程
     */
    @TableField("IS_END")
    private Integer isEnd;

    /**
     * 是否为会签处理记录
     */
    @TableField("IS_COUNTERSIGN")
    private Integer isCountersign;

    /**
     * 是否已经审批
     */
    @TableField("IS_DONE")
    private Integer isDone;

    /**
     * 发送者的审批记录标识
     */
    @TableField("SENDER_DETAIL_ID")
    private String senderDetailId;

    /**
     * 公司
     */
    @TableField("INNER_COMPANY_ID")
    private String innerCompanyId;

    /**
     * 创建人
     */
    @TableField("INNER_CREATOR_ID")
    private String innerCreatorId;

    /**
     * 创建时间
     */
    @TableField("INNER_CREATE_TIME")
    private LocalDateTime innerCreateTime;

    /**
     * 删除标志
     */
    @TableField("INNER_DELETE_FLAG")
    private Integer innerDeleteFlag;


    public String getDetailId() {
        return detailId;
    }

    public BdpWfActionDetail setDetailId(String detailId) {
        this.detailId = detailId;
        return this;
    }

    public String getActionId() {
        return actionId;
    }

    public BdpWfActionDetail setActionId(String actionId) {
        this.actionId = actionId;
        return this;
    }

    public String getNodeId() {
        return nodeId;
    }

    public BdpWfActionDetail setNodeId(String nodeId) {
        this.nodeId = nodeId;
        return this;
    }

    public Long getNodeOrder() {
        return nodeOrder;
    }

    public BdpWfActionDetail setNodeOrder(Long nodeOrder) {
        this.nodeOrder = nodeOrder;
        return this;
    }

    public String getHintMessage() {
        return hintMessage;
    }

    public BdpWfActionDetail setHintMessage(String hintMessage) {
        this.hintMessage = hintMessage;
        return this;
    }

    public String getAuditPerson() {
        return auditPerson;
    }

    public BdpWfActionDetail setAuditPerson(String auditPerson) {
        this.auditPerson = auditPerson;
        return this;
    }

    public LocalDateTime getAuditDate() {
        return auditDate;
    }

    public BdpWfActionDetail setAuditDate(LocalDateTime auditDate) {
        this.auditDate = auditDate;
        return this;
    }

    public String getAuditOpinion() {
        return auditOpinion;
    }

    public BdpWfActionDetail setAuditOpinion(String auditOpinion) {
        this.auditOpinion = auditOpinion;
        return this;
    }

    public Integer getIsPassed() {
        return isPassed;
    }

    public BdpWfActionDetail setIsPassed(Integer isPassed) {
        this.isPassed = isPassed;
        return this;
    }

    public Integer getIsEnd() {
        return isEnd;
    }

    public BdpWfActionDetail setIsEnd(Integer isEnd) {
        this.isEnd = isEnd;
        return this;
    }

    public Integer getIsCountersign() {
        return isCountersign;
    }

    public BdpWfActionDetail setIsCountersign(Integer isCountersign) {
        this.isCountersign = isCountersign;
        return this;
    }

    public Integer getIsDone() {
        return isDone;
    }

    public BdpWfActionDetail setIsDone(Integer isDone) {
        this.isDone = isDone;
        return this;
    }

    public String getSenderDetailId() {
        return senderDetailId;
    }

    public BdpWfActionDetail setSenderDetailId(String senderDetailId) {
        this.senderDetailId = senderDetailId;
        return this;
    }

    public String getInnerCompanyId() {
        return innerCompanyId;
    }

    public BdpWfActionDetail setInnerCompanyId(String innerCompanyId) {
        this.innerCompanyId = innerCompanyId;
        return this;
    }

    public String getInnerCreatorId() {
        return innerCreatorId;
    }

    public BdpWfActionDetail setInnerCreatorId(String innerCreatorId) {
        this.innerCreatorId = innerCreatorId;
        return this;
    }

    public LocalDateTime getInnerCreateTime() {
        return innerCreateTime;
    }

    public BdpWfActionDetail setInnerCreateTime(LocalDateTime innerCreateTime) {
        this.innerCreateTime = innerCreateTime;
        return this;
    }

    public Integer getInnerDeleteFlag() {
        return innerDeleteFlag;
    }

    public BdpWfActionDetail setInnerDeleteFlag(Integer innerDeleteFlag) {
        this.innerDeleteFlag = innerDeleteFlag;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.detailId;
    }

    @Override
    public String toString() {
        return "BdpWfActionDetail{" +
        "detailId=" + detailId +
        ", actionId=" + actionId +
        ", nodeId=" + nodeId +
        ", nodeOrder=" + nodeOrder +
        ", hintMessage=" + hintMessage +
        ", auditPerson=" + auditPerson +
        ", auditDate=" + auditDate +
        ", auditOpinion=" + auditOpinion +
        ", isPassed=" + isPassed +
        ", isEnd=" + isEnd +
        ", isCountersign=" + isCountersign +
        ", isDone=" + isDone +
        ", senderDetailId=" + senderDetailId +
        ", innerCompanyId=" + innerCompanyId +
        ", innerCreatorId=" + innerCreatorId +
        ", innerCreateTime=" + innerCreateTime +
        ", innerDeleteFlag=" + innerDeleteFlag +
        "}";
    }
}
